package com.bobo.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.Getter;

import java.util.List;


@Data
@TableName("tz_transport")
public class Transport {
  /**
   * 主键
   */
   @TableId
   private Integer transportId;
   private String transName;
   private String createTime;
   private Integer shopId;
   private Integer chargeType;
   private Integer isFreeFee;
   private Integer hasFreeCondition;
  /**
   * 指定条件包邮项
   */
  @TableField(exist=false)
  @Schema(description = "指定条件包邮项" ,required=true)
  private List<TransfeeFree> transfeeFrees;

  /**
   * 运费项
   */
  @TableField(exist=false)
  @Schema(description = "运费项" ,required=true)
  private List<Transfee> transfees;

  @TableField(exist=false)
  @Schema(description = "指定条件运费城市项" , required=true)
  private List<Area> cityList;
}
